package com.lhd.entity.enums;

public enum RecordStatusEnum {
    SUCCESS("0", "成功签到"),
    ABSENT("1", "缺勤"),
    PERSONAL_LEAVE("2", "事假"),
    SICK_LEAVE("3", "病假"),
    PUBLIC_LEAVE("4", "公假"),
    LATE("5", "迟到"),
    EARLY_LEAVE("6", "早退"),

    TODO_LEAVE("7", "待签到");


    private final String code;
    private final String description;

    RecordStatusEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}
